package com.drama.api.sys.user.domain.po;

import com.drama.api.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;

@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "sys_user")
public class SysUserPO extends BaseEntity {

    /**
     * 用户姓名
     */
    @Column(name = "user_name")
    private String userName;

    @Column(name = "organization_id")
    private String organizationId;

    /**
     * 用户手机
     */
    @Column(name = "user_phone")
    private String userPhone;

    /**
     * 身份证号码
     */
    @Column(name = "user_no")
    private String userNo;

    /**
     * 用户账号
     */
    @Column(name = "login_name")
    private String loginName;

    /**
     * 用户密码
     */
    @Column(name = "login_password")
    private String loginPassword;

    /**
     * 用户状态 1 启用 2 禁用
     */
    @Column(name = "use_state")
    private Integer useState;


}